package com.cian.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "commodity")
@ApiModel(value="Properties对象", description="该类用于从配置文件中读取必要的配置信息，并在...Config文件中加载配置")
public class Properties {
    @ApiModelProperty(value = "表示图片存放的文件夹位置配置")
    private String photoDir;
}
